package routers

import (
	"chinasoccer/apis/goods"

	"github.com/gin-gonic/gin"
)

func GoodsRouter(r *gin.RouterGroup) {
	r.GET("/goods", goods.GetAllGoods)
	r.POST("/goods", goods.AddGoods)
	r.PUT("/goods", goods.UpdateGoods)
	r.DELETE("/goods/:id", goods.DelGoods)
}
